package com.oa.system.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("sys_approval_node_user")
@ApiModel("审批节点用户表")
@Data
public class ApprovalNodeUser extends Model<ApprovalNodeUser> {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String userId;

    private Long approvalNodeId;

    private Date updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
